import { Module } from "@nestjs/common";
import { DeliverOrderService } from "./deliver-order.service";
import { DeliverOrderController } from "./deliver-order.controller";
import { DeliveryModule } from "src/modules/delivery/delivery.module";
import { DeliveryItemModule } from "src/modules/delivery-item/delivery-item.module";
import { OrderModule } from "src/modules/order/order.module";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Order } from "src/modules/order/order.entity";
import { Delivery } from "src/modules/delivery/delivery.entity";
import { DeliveryItem } from "src/modules/delivery-item/delivery-item.entity";
import { UserModule } from "src/modules/user/user.module";
import { CompanyModule } from "src/modules/company/company.module";
import { ClientModule } from "src/modules/client/client.module";
import { StatisticModule } from "src/modules/statistics/statistic.module";

@Module({
  imports: [
    TypeOrmModule.forFeature([Order, Delivery, DeliveryItem]),
    DeliveryModule,
    DeliveryItemModule,
    OrderModule,
    UserModule,
    CompanyModule,
    ClientModule,
    StatisticModule,
  ],
  providers: [DeliverOrderService],
  controllers: [DeliverOrderController],
})
export class DeliverOrderModule {}
